package com.mdp.behavioral.mediator;

public abstract class Mediator {
    
    protected EachOther each;
    
    protected EachOther other;
    
    public Mediator(EachOther each, EachOther other) {
        this.each = each;
        this.other = other;
    }
    
    public abstract void eachAction(String value);
    
    public abstract void otherAction(String value);
    
}
